﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RoleInfo.aspx.cs" Inherits="Invoicing.sys.RoleInfo" %>

<!-- hidden form-->
<form id="pagerForm" method="post" action="sys/RoleInfo.aspx">
    <input type="hidden" name="status" value="status" />
    <input type="hidden" name="keywords" value="keywords" />
    <input type="hidden" name="numPerPage" value="<%=NumPerPage %>" />
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="orderField" value="dp_id" />
    <input type="hidden" name="orderDesc" value="desc" />
</form>

<!-- head -->
<div id="navTab" class="tabsPage">

    <!--页面头-->
    <div class="pageHeader">

        <form id="searchForm" method="post" action="sys/RoleInfo.aspx" rel="pagerForm" onsubmit="return navTabSearch(this);">
            <table class="searchContent">
                <tr>
                    <td>角色名称：<input type="text" name="RoleName" value="<%= RoleName  %>" />
                    </td>
                    <td>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">查 询</button>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </form>

    </div>
    <!--页面主体-->
    <form onsubmit="return navTabSearch(this);" action="sys/RoleInfo.aspx" method="post">
        <div class="pageContent">
            <div class="panelBar">
                <ul class="toolBar">
                    <li><a class="add" href="sys/RoleAdd.aspx" target="dialog" maxable="false" mask="true" rel="deptedit" warn="请选择角色！"  width="600" height="300"><span>添加</span></a></li>
                    <li><a class="delete" href="AJAX/RoleInfo.ashx?action=del&pageNum=<%= CurrentPageindex %>" posttype="string" target="selectedTodo" rel="ids" title="确定要删除角色?"><span>删除</span></a></li>
                    <li><a class="edit" href="sys/RoleEdit.aspx?reid={sid_user}&pageNum=<%=CurrentPageindex %>" maxable="false" mask="true" target="dialog" rel="deptedit" width="600" height="300" warn="请选择角色！"><span>修改</span></a></li>
                </ul>
            </div>

            <table class="table" layouth="120">
                <thead>
                    <tr style="text-align: center">
                        <th width="80">
                            <input type="checkbox" group="ids" class="checkboxCtrl"></th>
                        <th width="180">角色名称</th>
                        <th width="180">角色等级</th>
                        <th width="180">角色介绍</th>
                        <th width="180">创建日期</th>
                    </tr>
                </thead>
                <tbody>

  <asp:repeater id="DeptList" runat="server">
	<ItemTemplate>
	<tr id="tr2" target="sid_user" rel="<%#DataBinder.Eval(Container.DataItem, "rid")%>" style=" text-align:center;font-size:14px"> 
    <td><input   name="ids"   type="checkbox" value="<%#DataBinder.Eval(Container.DataItem, "rid")%>" /></td>
    <td><%#DataBinder.Eval(Container.DataItem, "rupName")%> </td>
	<td><%#DataBinder.Eval(Container.DataItem, "rleve")%> </td>
	<td><%#DataBinder.Eval(Container.DataItem, "r_note")%> </td>
    <td><%#DataBinder.Eval(Container.DataItem, "r_createtime")%> </td>
	</tr>
	</ItemTemplate>
  </asp:repeater>

                </tbody>
            </table>

            <div class="panelBar">
                <div class="pages">
                    <span>显示<%=  NumPerPage %></span>
                    <%--	<select class="combox" name="numPerPage" change="navTabPageBreak" param="numPerPage">
					<option value="<%= NumPerPage %>"></option>
					<option value="2">2</option>
					<option value="3">3</option>
					<option value="4">4</option>
				</select>--%>
                    <span>共<%= TotalCount %>条</span>
                </div>
                <div class="pagination" targettype="navTab" totalcount="<%= TotalCount %>" numperpage="<%= NumPerPage %>" pagenumshown="10" currentpage="<%= CurrentPageindex %>"></div>
            </div>
        </div>
    </form>
</div>
